﻿using System;
using System.Collections.Generic;
using System.Text;
using IBuy.AOP;
using Loom;

namespace IBuy.DataAccessLayer
{
    public class OledbDatabaseFactory:DatabaseFactory
    {
        public IDatabase GetDatabase()
        {
            LogAspect logAspect = new LogAspect();

            return Weaver.Create<Database>(logAspect);
        }
    }
}
